package com.gxwy.changyongzhanghu.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.gxwy.changyongzhanghu.service.ChangYongZhangHuService;

@Controller
@RequestMapping("/changyongzhanghu")
public class FindChangYongZhangHuController {

	@Autowired
	private ChangYongZhangHuService service;
	
	@RequestMapping("/test")
	@ResponseBody
	public Map<String,Object> f1(){
		Map<String,Object> data=new HashMap<String, Object>();
		data.put("id",1001);
		data.put("name","cuicui");
		return data;
	}
}
